package com.hotdog.plugin.util;

import com.intellij.openapi.ui.Messages;

/**
 * @Author wangzhengnian
 * @Date 2021/3/20 11:00
 * @Version 1.0
 */
public class HotMessagesUtil {
    public static void showError(String errorMsg) {
        Messages.showMessageDialog(errorMsg,
                "更新错误",
                Messages.getErrorIcon());
    }

    public static void showSuccess(String errorMsg) {
        Messages.showMessageDialog(errorMsg,
                "更新成功",
                Messages.getInformationIcon());
    }
}
